package com.kefu.call.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author CodeGenerator
 * @date 2022/07/24
 */
@Data
@TableName(value="sipuser")
@ApiModel(description = "SIP用户")
public class CallSipuser implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="Oid",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String oid;

    @TableField(value="SIPUser")
    @ApiModelProperty(value = "账号")
    private String sipUser;
    
    @TableField(value="password")
    @ApiModelProperty(value = "密码")
    private String password;
    
    @TableField(value="vm_password")
    @ApiModelProperty(value = "虚拟密码")
    private String vmPassword;
    
    @TableField(value="toll_allow")
    @ApiModelProperty(value = "允许")
    private String tollAllow;
    
    @TableField(value="accountcode")
    @ApiModelProperty(value = "账户代码")
    private String accountcode;
    
    @TableField(value="user_context")
    @ApiModelProperty(value = "用户联系地址")
    private String userContext;
    
    @TableField(value="effective_caller_id_name")
    @ApiModelProperty(value = "有效的呼叫者号码")
    private String effectiveCallerIdName;
    
    @TableField(value="effective_caller_id_number")
    @ApiModelProperty(value = "有效的呼叫者号码")
    private String effectiveCallerIdNumber;
    
    @TableField(value="outbound_caller_id_name")
    @ApiModelProperty(value = "出站呼叫者姓名")
    private String outboundCallerIdName;
    
    @TableField(value="outbound_caller_id_number")
    @ApiModelProperty(value = "呼出号码")
    private String outboundCallerIdNumber;
    
    @TableField(value="callgroup")
    @ApiModelProperty(value = "呼叫组")
    private String callgroup;
    
    @TableField(value="callgroupid")
    @ApiModelProperty(value = "呼叫组ID")
    private Integer callgroupid;
    
    @TableField(value="groupName")
    @ApiModelProperty(value = "组名")
    private String groupname;
    
    @TableField(value="voiceMail")
    @ApiModelProperty(value = "是否开启留言")
    private Integer voicemail;
    
    @TableField(value="Bypass")
    @ApiModelProperty(value = "是否bypass模式")
    private Integer bypass;
    
    @TableField(value="needRecord")
    @ApiModelProperty(value = "是否需要录音")
    private Integer needrecord;
    
    @TableField(value="dialplan_name")
    @ApiModelProperty(value = "规则")
    private String dialplanName;
    
    @TableField(value="transferEnable")
    @ApiModelProperty(value = "是否开启转接")
    private Integer transferenable;
    
    @TableField(value="transferModel")
    @ApiModelProperty(value = "转接模式[all:全部转接 busy:遇忙转接 noAnswer:没有应答转接 offLine:不在线转接]")
    private String transfermodel;
    
    @TableField(value="transferContent")
    @ApiModelProperty(value = "转接的方式,默认走【n.lua】流程")
    private String transfercontent;
    
    @TableField(value="sip_force_contact")
    @ApiModelProperty(value = "是否开启nat重写IP和端口")
    private Integer sipForceContact;
    
    @TableField(value="company")
    @ApiModelProperty(value = "公司id")
    private String company;
    

}